#!/bin/bash

set -e

log-debug "starting downstream agent"
docker compose exec -T downstream-workload supervisorctl --configuration /opt/supervisord/supervisord.conf start spire-agent

log-debug "starting upstream agent"
docker compose exec -T upstream-workload supervisorctl --configuration /opt/supervisord/supervisord.conf start spire-agent
